package com.angel.mapper;

import com.angel.bean.dto.PurchaseApplicationDetils;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.PurchaseApplication;

@Mapper
public interface PurchaseApplicationDao {
    int insert(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    int insertSelective(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    int insertList(@Param("purchaseApplications") List<PurchaseApplication> purchaseApplications);

    int update(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    int delete(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    List<PurchaseApplication> findPurchaseApplication(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    List<PurchaseApplication> searchPurchaseApplication(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

    List<PurchaseApplicationDetils> finddetilPurchaseApplication(@Param("purchaseApplication") PurchaseApplication purchaseApplication);

}
